ExamPlay Light Logo
Prisijunkite

Computer Science for IGCSE & O level - Programming (Section 6 - No. 21)

What is the purpose of a `return` statement within a function?
To define the function.
To exit the function and optionally send a value back.
To print the function's output.
To call another function.

Paaiškinimas

The `return` statement exits a function, usually with a result.

Komentarai (0)

Prisijungti Norėdami komentuoti
Skelbimas
BrainBehindX Inc Logo
©2026; Maitinamas BrainBehindX Inc